package com.qk.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qk.common.PageResult;
import com.qk.dto.BusinessDto;
import com.qk.entity.Business;

public interface BusinessService extends IService<Business> {
    /**
     * 商机列表
     */
    PageResult<Business> listBusiness(BusinessDto businessDto);

    /**
     * 商机分配
     */
    void assignBusiness(Integer businessId, Integer userId);

    /**
     * 根据ID查询商机详情
     */
    Business getBusinessById(Integer id);

    /**
     * 商机跟进
     */
    void trackBuisness(Business business);
}